<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
    <title>Reference</title>
    <link rel="stylesheet" href="../../luadoc.css" type="text/css" />
	<!--meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/-->
</head>

<body>
<div id="container">

<div id="product">
	<div id="product_logo"></div>
	<div id="product_name"><big><b></b></big></div>
	<div id="product_description"></div>
</div> <!-- id="product" -->

<div id="main">

<div id="navigation">


<h1>LuaDoc</h1>
<ul>
	
	<li><a href="../../index.html">Index</a></li>
	
</ul>


<!-- Module list -->

<h1>Modules</h1>
<ul>

	<li>
		<a href="../../modules/EntSys.html">EntSys</a>
	</li>

	<li>
		<a href="../../modules/TimerSys.html">TimerSys</a>
	</li>

	<li>
		<a href="../../modules/TweenSys.html">TweenSys</a>
	</li>

</ul>



<!-- File list -->

<h1>Files</h1>
<ul>

	<li>
		<a href="../../files/Core/VoyResSys.html">Core/VoyResSys.lua</a>
	</li>

	<li>
		<a href="../../files/Core/VoySoundSys.html">Core/VoySoundSys.lua</a>
	</li>

	<li>
		<a href="../../files/Core/VoyTimeSys.html">Core/VoyTimeSys.lua</a>
	</li>

	<li>
		<a href="../../files/EntitySys/EntCmdTag.html">EntitySys/EntCmdTag.lua</a>
	</li>

	<li>
		<a href="../../files/EntitySys/EntMgr.html">EntitySys/EntMgr.lua</a>
	</li>

	<li>
		<a href="../../files/Helper/debugSys.html">Helper/debugSys.lua</a>
	</li>

	<li>
		<a href="../../files/Helper/list.html">Helper/list.lua</a>
	</li>

	<li>
		<a href="../../files/ICom/IDraw.html">ICom/IDraw.lua</a>
	</li>

	<li>
		<a href="../../files/MenuSys/MenuSys.html">MenuSys/MenuSys.lua</a>
	</li>

	<li>
		<a href="../../files/TimerSys/TimerSys.html">TimerSys/TimerSys.lua</a>
	</li>

	<li><strong>TweenSys/IEasings.lua</strong></li>
	
	<li>
		<a href="../../files/TweenSys/TweenSys.html">TweenSys/TweenSys.lua</a>
	</li>

	<li>
		<a href="../../files/VoyEngine.html">VoyEngine.lua</a>
	</li>

</ul>






</div> <!-- id="navigation" -->

<div id="content">

<h1>File <code>TweenSys/IEasings.lua</code></h1>


<p>EFL: EasingForLua - Easing Functions Library for Lua Copyright (C) 2011. Written by Roland Yonaba - E-mail: roland[dot]yonaba[at]gmail[dot]com EFL is a package of Easing functions for Lua  Credits to : Robert Penner Easing Equations [http://www.robertpenner.com/easing] Yuichi Tateno [http://coderepos.org/share/wiki/JSTweener] Kikito (github.com/kikito/easing ,  github.com/kikito/tween.lua)  Note : All Easing functions are composed of 4 types of easing  IN-EASING: Meaning that the easing effect will be applied at the start of the motion OUT-EASING: Meaning that the easing effect will be applied at the end of the motion OUTIN-EASING: Meaning that the easing effect will be applied at the start and the end of the motion INOUT-EASING: Meaning that the easing effect will be applied at the middle of the motion</p>






<h2>Functions</h2>
<table class="function_list">

	<tr>
	<td class="name" nowrap><a href="#EasingFunctionName">EasingFunctionName</a>&nbsp;(t, b, c, d, s, a, p)</td>
	<td class="summary">This is a example easing function parameters showed here include all the possible situation </td>
	</tr>

	<tr>
	<td class="name" nowrap><a href="#INBACK">INBACK</a>&nbsp;(t, b, c, d, s)</td>
	<td class="summary">BACK EASING -------- </td>
	</tr>

	<tr>
	<td class="name" nowrap><a href="#INCIRCULAR">INCIRCULAR</a>&nbsp;(t, b, c, d)</td>
	<td class="summary">CIRCULAR EASING -------- </td>
	</tr>

	<tr>
	<td class="name" nowrap><a href="#INCUBIC">INCUBIC</a>&nbsp;(t, b, c, d)</td>
	<td class="summary">CUBIC EASING -------- </td>
	</tr>

	<tr>
	<td class="name" nowrap><a href="#INELASTIC">INELASTIC</a>&nbsp;(t, b, c, d, a, p)</td>
	<td class="summary">ELASTIC EASING -------- </td>
	</tr>

	<tr>
	<td class="name" nowrap><a href="#INEXP">INEXP</a>&nbsp;(t, b, c, d)</td>
	<td class="summary">EXPONENTIAL EASING -------- </td>
	</tr>

	<tr>
	<td class="name" nowrap><a href="#INQUAD">INQUAD</a>&nbsp;(t, b, c, d)</td>
	<td class="summary">QUADRATIC EASING -------- </td>
	</tr>

	<tr>
	<td class="name" nowrap><a href="#INQUART">INQUART</a>&nbsp;(t, b, c, d)</td>
	<td class="summary">QUARTIC EASING -------- </td>
	</tr>

	<tr>
	<td class="name" nowrap><a href="#INQUINT">INQUINT</a>&nbsp;(t, b, c, d)</td>
	<td class="summary">QUINTIC EASING -------- </td>
	</tr>

	<tr>
	<td class="name" nowrap><a href="#INSINE">INSINE</a>&nbsp;(t, b, c, d)</td>
	<td class="summary">SINUSOIDAL EASING -------- </td>
	</tr>

	<tr>
	<td class="name" nowrap><a href="#LINEAR">LINEAR</a>&nbsp;(t, b, c, d)</td>
	<td class="summary">LINEAR EASING -------- </td>
	</tr>

	<tr>
	<td class="name" nowrap><a href="#OUTBOUNCE">OUTBOUNCE</a>&nbsp;(t, b, c, d)</td>
	<td class="summary">BOUNCE EASING -------- </td>
	</tr>

</table>






<br/>
<br/>




<h2><a name="functions"></a>Functions</h2>
<dl class="function">



<dt><a name="EasingFunctionName"></a><strong>EasingFunctionName</strong>&nbsp;(t, b, c, d, s, a, p)</dt>
<dd>
This is a example easing function parameters showed here include all the possible situation


<h3>Parameters:</h3>
<ul>
	
	<li>
	  <code><em>t</em></code>: time
	</li>
	
	<li>
	  <code><em>b</em></code>: begin
	</li>
	
	<li>
	  <code><em>c</em></code>: change in position
	</li>
	
	<li>
	  <code><em>d</em></code>: duration of the tween effect
	</li>
	
	<li>
	  <code><em>s</em></code>: step (Optional - only required for Back easing)
	</li>
	
	<li>
	  <code><em>a</em></code>: amplitude (Optional - only required for Elastic Easing)
	</li>
	
	<li>
	  <code><em>p</em></code>: period (Optional - only required for Elastic Easing)
	</li>
	
</ul>








</dd>




<dt><a name="INBACK"></a><strong>INBACK</strong>&nbsp;(t, b, c, d, s)</dt>
<dd>
BACK EASING --------


<h3>Parameters:</h3>
<ul>
	
	<li>
	  <code><em>t</em></code>: 
	</li>
	
	<li>
	  <code><em>b</em></code>: 
	</li>
	
	<li>
	  <code><em>c</em></code>: 
	</li>
	
	<li>
	  <code><em>d</em></code>: 
	</li>
	
	<li>
	  <code><em>s</em></code>: 
	</li>
	
</ul>








</dd>




<dt><a name="INCIRCULAR"></a><strong>INCIRCULAR</strong>&nbsp;(t, b, c, d)</dt>
<dd>
CIRCULAR EASING --------


<h3>Parameters:</h3>
<ul>
	
	<li>
	  <code><em>t</em></code>: 
	</li>
	
	<li>
	  <code><em>b</em></code>: 
	</li>
	
	<li>
	  <code><em>c</em></code>: 
	</li>
	
	<li>
	  <code><em>d</em></code>: 
	</li>
	
</ul>








</dd>




<dt><a name="INCUBIC"></a><strong>INCUBIC</strong>&nbsp;(t, b, c, d)</dt>
<dd>
CUBIC EASING --------


<h3>Parameters:</h3>
<ul>
	
	<li>
	  <code><em>t</em></code>: 
	</li>
	
	<li>
	  <code><em>b</em></code>: 
	</li>
	
	<li>
	  <code><em>c</em></code>: 
	</li>
	
	<li>
	  <code><em>d</em></code>: 
	</li>
	
</ul>








</dd>




<dt><a name="INELASTIC"></a><strong>INELASTIC</strong>&nbsp;(t, b, c, d, a, p)</dt>
<dd>
ELASTIC EASING --------


<h3>Parameters:</h3>
<ul>
	
	<li>
	  <code><em>t</em></code>: 
	</li>
	
	<li>
	  <code><em>b</em></code>: 
	</li>
	
	<li>
	  <code><em>c</em></code>: 
	</li>
	
	<li>
	  <code><em>d</em></code>: 
	</li>
	
	<li>
	  <code><em>a</em></code>: 
	</li>
	
	<li>
	  <code><em>p</em></code>: 
	</li>
	
</ul>








</dd>




<dt><a name="INEXP"></a><strong>INEXP</strong>&nbsp;(t, b, c, d)</dt>
<dd>
EXPONENTIAL EASING --------


<h3>Parameters:</h3>
<ul>
	
	<li>
	  <code><em>t</em></code>: 
	</li>
	
	<li>
	  <code><em>b</em></code>: 
	</li>
	
	<li>
	  <code><em>c</em></code>: 
	</li>
	
	<li>
	  <code><em>d</em></code>: 
	</li>
	
</ul>








</dd>




<dt><a name="INQUAD"></a><strong>INQUAD</strong>&nbsp;(t, b, c, d)</dt>
<dd>
QUADRATIC EASING --------


<h3>Parameters:</h3>
<ul>
	
	<li>
	  <code><em>t</em></code>: 
	</li>
	
	<li>
	  <code><em>b</em></code>: 
	</li>
	
	<li>
	  <code><em>c</em></code>: 
	</li>
	
	<li>
	  <code><em>d</em></code>: 
	</li>
	
</ul>








</dd>




<dt><a name="INQUART"></a><strong>INQUART</strong>&nbsp;(t, b, c, d)</dt>
<dd>
QUARTIC EASING --------


<h3>Parameters:</h3>
<ul>
	
	<li>
	  <code><em>t</em></code>: 
	</li>
	
	<li>
	  <code><em>b</em></code>: 
	</li>
	
	<li>
	  <code><em>c</em></code>: 
	</li>
	
	<li>
	  <code><em>d</em></code>: 
	</li>
	
</ul>








</dd>




<dt><a name="INQUINT"></a><strong>INQUINT</strong>&nbsp;(t, b, c, d)</dt>
<dd>
QUINTIC EASING --------


<h3>Parameters:</h3>
<ul>
	
	<li>
	  <code><em>t</em></code>: 
	</li>
	
	<li>
	  <code><em>b</em></code>: 
	</li>
	
	<li>
	  <code><em>c</em></code>: 
	</li>
	
	<li>
	  <code><em>d</em></code>: 
	</li>
	
</ul>








</dd>




<dt><a name="INSINE"></a><strong>INSINE</strong>&nbsp;(t, b, c, d)</dt>
<dd>
SINUSOIDAL EASING --------


<h3>Parameters:</h3>
<ul>
	
	<li>
	  <code><em>t</em></code>: 
	</li>
	
	<li>
	  <code><em>b</em></code>: 
	</li>
	
	<li>
	  <code><em>c</em></code>: 
	</li>
	
	<li>
	  <code><em>d</em></code>: 
	</li>
	
</ul>








</dd>




<dt><a name="LINEAR"></a><strong>LINEAR</strong>&nbsp;(t, b, c, d)</dt>
<dd>
LINEAR EASING --------


<h3>Parameters:</h3>
<ul>
	
	<li>
	  <code><em>t</em></code>: 
	</li>
	
	<li>
	  <code><em>b</em></code>: 
	</li>
	
	<li>
	  <code><em>c</em></code>: 
	</li>
	
	<li>
	  <code><em>d</em></code>: 
	</li>
	
</ul>








</dd>




<dt><a name="OUTBOUNCE"></a><strong>OUTBOUNCE</strong>&nbsp;(t, b, c, d)</dt>
<dd>
BOUNCE EASING --------


<h3>Parameters:</h3>
<ul>
	
	<li>
	  <code><em>t</em></code>: 
	</li>
	
	<li>
	  <code><em>b</em></code>: 
	</li>
	
	<li>
	  <code><em>c</em></code>: 
	</li>
	
	<li>
	  <code><em>d</em></code>: 
	</li>
	
</ul>








</dd>


</dl>







</div> <!-- id="content" -->

</div> <!-- id="main" -->

<div id="about">
	<p><a href="http://validator.w3.org/check?uri=referer"><img src="http://www.w3.org/Icons/valid-xhtml10" alt="Valid XHTML 1.0!" height="31" width="88" /></a></p>
</div> <!-- id="about" -->

</div> <!-- id="container" -->	
</body>
</html>
